@import "./theme/base-import.less";

.myMessage {
  background-color: @pageBgColor;
  .errorTips {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .message-list {
    font-size: 16px;
    width: 100%;
    padding: 10px 14px;
    box-sizing: border-box;
    .list-group {
      width: 100%;
      /*overflow-y: scroll;*/
      .list-item {
        padding: 8px 0;
        height: 56px;
        display: flex;
        border-bottom: 1px solid @word-line;
        .friend_avatar {
          .cellBorderRadius();
          width: 56px;
          height: 100%;
          position: relative;
          .circle-widget {
            position: absolute;
            top: 0;
            right: -4px;
            line-height: 14px;
            padding: 2px 2px;
            color: #fff;
            border-radius: 50%;
            min-width: 14px;
            min-height: 14px;
            font-size: @cellFontSize;
            text-align: center;
            background: @warningColor;
          }
          & > :not(.circle-widget) {
            .circleImage();
            border-radius: 50%;
          }
          img {
            object-fit: cover;
          }
        }
        .message_info {
          flex: 1;
          justify-content: space-between;
          display: flex;
          .about_friendInfo {
            overflow: hidden;
            margin-left: 14px;
            display: flex;
            flex-flow: column;
            justify-content: space-evenly;
            .friend_nickname {
              font-weight: bold;
              font-size: 14px;
            }
            .last_message {
              overflow: hidden;
              display: -webkit-box;
              -webkit-line-clamp: 1;
              -webkit-box-orient: vertical;
              font-size: 12px;
            }
          }
          .order_picture {
            width: 71px;
            height: 100%;
            img {
              object-fit: cover;
              .circleImage()
            }
          }
        }
      }
    }
  }
}